package com.aispace.taichu.modules.listener;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class TaiChuEventListener {

    @EventListener
    public void onEvent(TaiChuEvent<?> event){
        log.info("TaiChuEvent: {}", event);
    }
}
